package com.xneure.code.upload;

import java.util.Map;

public class ClientMsg{
	private boolean succeed = false;
	private String msg;
	private long fileSize = -1;
	private Map<String,Object> param;

	public boolean isSucceed(){
		return succeed;
	}

	public ClientMsg setSucceed(boolean succeed){
		this.succeed = succeed;
		return this;
	}

	public String getMsg(){
		return msg;
	}

	public ClientMsg setMsg(String msg){
		this.msg = msg;
		this.succeed = false;
		return this;
	}

	public long getFileSize(){
		return fileSize;
	}

	public ClientMsg setFileSize(long fileSize){
		this.fileSize = fileSize;
		return this;
	}

	public Map<String,Object> getParam(){
		return param;
	}

	public ClientMsg setParam(Map<String,Object> param){
		this.param = param;
		return this;
	}

}
